package com.lagou;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author xingyi
 */
@SpringBootApplication
@EnableDubbo(scanBasePackages = "com.lagou.service.impl")
public class ProviderApp {
    public static void main(String[] args) {
        final SpringApplication springApplication = new SpringApplication(ProviderApp.class);
        springApplication.setWebApplicationType(WebApplicationType.NONE);
        springApplication.run(args);
    }
}
